/**
 * 
 */
package de.farbstreich.tozen2.server.games;

import de.farbstreich.tozen2.server.PlayerThread;
import de.farbstreich.tozen2.server.TozenServer;

/**
 * @author martin
 * Extends this class, to add a game type.
 * This class holds only the game informations without rules etc.
 *
 */
public abstract class GameTypeAbstract {
	public final String title;
	public final int maxPlayersCount;
	public final int minPlayersCount;
	public final int id;
	
	public abstract Game createGame(String t, PlayerThread admin, TozenServer server);

	public GameTypeAbstract(String t, int min, int max,int id) {
		this.title = t;
		this.minPlayersCount = min;
		this.maxPlayersCount = max;
		this.id = id;
	}
	
	

}
